<template>
  <div class="common-layout">
    <el-container>
      <!-- <el-aside width="200px">Aside</el-aside> -->
      <Aside/>
      <el-container>
        <el-header class="header">
          <NavHeader/>
        </el-header>
        <el-main>
          <RouterView/>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup lang="ts">
import Aside from '@/components/Aside.vue'
import NavHeader from '@/components/navHeader.vue'
import { RouterView } from 'vue-router';
</script>

<style scoped lang="less">
.common-layout{
  height: 100vh; 

  .header{
  padding: auto;
  height: 50px;
}
}

</style>